package edu.sctu.alex.May.day20150512;
/**
 * Created by user03 on 2015/5/15.
 */
public class Judge {

    InterfaceOne interfaceOne;

   public void print(InterfaceOne interfaceOne){
        this.interfaceOne = interfaceOne;

        interfaceOne.setAge(20);
        Info[] info2;
        info2=interfaceOne.setAge(20);

       for (int i = 0; i <info2.length ; i++) {
          while(info2[i]!=null) {
              System.out.println(info2[i].getName());
              System.out.println(info2[i].getAge());
              System.out.println(info2[i].getSex());
              System.out.println(info2[i].getScore());
              System.out.println(info2[i].getAction());
              break;
          }
       }


    }


}

